package Demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: homechen
 * Date: 2024-03-24
 * Time: 10:57
 */
public class PassExample {
    public static void main(String[] args) {
        int number = 10;
        method(number);
        System.out.println("number: " + number);
    }
    private static void method(int number) {
        number = 20;
    }
}
